﻿using System;
using System.Data;
using MySql.Data.MySqlClient;

using BizElements.Core;
using BizElements.Core.ProviderComponents;

namespace BizElements.Core.MySql
{
    sealed class MySqlDataAdapterBuilder : IDataAdapterBuilder
    {
        public IDataAdapter BuildAdapter(IDbCommand cmd)
        {
            return new MySqlDataAdapter((MySqlCommand)cmd);
        }
    }
}
